GtkListBoxRow: add g_return_if_fail to grab_focus, don't crash
authorRafal Luzynski <digitalfreak@lingonborough.com>
Thu, 26 Feb 2015 01:15:18 +0000 (02:15 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 27 Feb 2015 11:31:06 +0000 (06:31 -0500)
commit3ce3593ebf334f0bee2497732ebce8958e9950e0
tree415a8e2208e0ea90ab764398e1f9175c8c5e8adb
parent45210d58356e5d8feb488bfdc0039fcfdf47c749
GtkListBoxRow: add g_return_if_fail to grab_focus, don't crash

Although gtk_list_box_row_grab_focus() is not a public function
it can be easily called by gtk_widget_grab_focus() with a row argument
which has been removed from the list box and has box == NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=744879
gtk/gtklistbox.c